package com.ruoyi.zhgd.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.zhgd.domain.ZjNCementMatch;
import com.ruoyi.zhgd.domain.bo.ZjNCementMatchBo;
import com.ruoyi.zhgd.domain.vo.ZjNCementMatchVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 自建-水稳配比信息Mapper接口
 *
 * @author tll
 * @date 2024-10-08
 */
public interface ZjNCementMatchMapper extends BaseMapperPlus<ZjNCementMatchMapper, ZjNCementMatch, ZjNCementMatchVo> {

    /**
     * 根据部门id查询该标段的启用信息
     * @param id
     * @return
     */
    int getEnabledInfo(@Param("deptId") String id);

    /**
     * 分页
     * @param bo
     * @param build
     * @return
     */
    Page<ZjNCementMatchVo> page(@Param("params") ZjNCementMatchBo bo, Page<Object> build);
}
